body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f2f2f2;
  }
  
  header {
    text-align: center;
    background-color: #353f38;
    color: #fff;
    padding: 1px 0;
  }
  
  header h1 {
    font-size: 28px;
    margin-bottom: 0px;
  }
  

  
  header nav a:hover {
    background-color: #555;
  }
  

  
  footer {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  padding: 20px 0;
  background: #020617;
  }
  
 /* Global polish */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #e5e7eb;
}

/* Header & nav */
header {
  background: linear-gradient(135deg, #020617, #111827, #0f766e);
  color: #f9fafb;
  padding-bottom: 3rem;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0.75rem 5%;
}

nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  text-decoration: underline;
}

/* HERO */

.hero-subtitle {
  animation-delay: 0.4s;
}

.hero-tagline {
  font-weight: 500;
  animation-delay: 0.8s;
}

/* Hero animations */


/* Layout for the main content grid (your 4 blocks) */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 800px) {
  main {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: #c4d0ff;
}

.card:hover::before {
  opacity: 1;
}

/* Titles & text inside cards */
.card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.card p,
.card li,
.card a {
  font-size: 0.95rem;
}

/* Services list cleanup */
.card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1rem;
}

.card ul li::before {
  content: "• ";
  color: #3b82f6;
}

/* Footer */
footer {
  background: #020617;
  color: #9ca3af;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.8rem;
}

nav ul {
  display: flex;
  justify-content: flex-start;   /* <-- Align LEFT */
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0.75rem 2rem;         /* <-- left padding to position nicely */
}
 
nav a {
  color: #e5e7eb;                /* adjust color if needed */
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  text-decoration: underline;
}

/* === MAIN CONTENT LAYOUT === */
.content {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 2.5rem 1rem 4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr;
  }
}

/* === CARD STYLE === */
.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem 2.2rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-color: #c4d0ff;
}

.card:hover::before {
  opacity: 1;
}

.card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card a {
  font-size: 0.92rem;
}

/* Services bullets inside card */
.services-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0.5rem;
}

.services-list li::before {
  content: "• ";
  color: #3b82f6;
}

/* === PROJECTS TABLE === */
.projects-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.9rem;
}

.projects-table th,
.projects-table td {
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.projects-table th {
  background-color: #f3f4f6;
  font-weight: 600;
}

/* === HERO WRAPPER (same as projects) === */
.hero {
  text-align: center;
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 0 1rem 2.5rem;
}

/* === HERO TITLE (same as projects) === */
.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;

  background: linear-gradient(120deg, #38bdf8, #a855f7, #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* === SUBTITLE + TAGLINE (same as projects) === */
.hero-subtitle,
.hero-tagline {
  margin: 0.2rem 0;
  font-size: 1rem;
  color: #e5e7eb;
}